function resize_horizontal_slider(size)
{
	horizontal_slider_width = size['width'] - $('horizontal_slider').getStripStyle('left') - $('horizontal_slider').getStripStyle('margin-left') - $('horizontal_slider').getStripStyle('margin-right') - $('horizontal_slider').getStripStyle('padding-left') - $('horizontal_slider').getStripStyle('padding-right');
	
		$('horizontal_slider').setStyle({'width': (horizontal_slider_width)+'px'});	

}

function resize_vertical_slider(size)
{
	vertical_slider_width = size['height'] - $('vertical_slider').getStripStyle('top') - $('vertical_slider').getStripStyle('margin-top') - $('vertical_slider').getStripStyle('margin-bottom') - $('vertical_slider').getStripStyle('padding-top') - $('vertical_slider').getStripStyle('padding-bottom');
	
		$('vertical_slider').setStyle({'height': (vertical_slider_width)+'px'});	

}